package com.ruoyi.common.enums.comlbs;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 车辆状态枚举类
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
public enum VehicleStatusEnum {

    DRIVING(0, "行驶"),
    STOP(1, "停留"),
    FLAME_OUT(2, "熄火"),
    POSITIONING_FAIL(3, "定位失败"),
    OFFLINE(4, "离线"),
    NOT_LOCATE(5, "未定位"),
    ONLINE(6, "在线"),
    ;

    public final static Integer offlineTime = 300000;

    private int code;
    private String text;
}
